<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>订单管理</title>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/bootstrap.min.css"/>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/daterangepicker-bs3.css"/>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/font-awesome.min.css"/>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/main.css"/>
</head>
<body>
<div class="view-content">
	<div class="good-lib-wrapper">
		<div class="view-top">
			<div class="SearchCon">
				<div class="SearchTxt">
					<form action="{:U('Order/index')}" method="get" id="myform">
						<input type="hidden" value="0" name="typeid"/>
						<input type="hidden" value="0" name="pattern"/>
						<input type="hidden" value="" name="keyword"/>
						<input type="hidden" value="" name="date_time"/>
						<input type="hidden" value="" name="order_state"/>
						<input type="hidden" value="" name="express_id"/>
						<div class="SearchTxtList">
							<div class="SearchPre">
								<div class="NameId" value = "0">手机</div>
								<div class="NameIdList">
									<ul>
										<li class="active" value = "0">手机</li>
										<li value = "1">订单ID</li>
										<li value = "2">商品ID</li>
										<li value = "3">页面名称</li>
										<li value = "4">页面ID</li>
										<li value = "5">套餐名称</li>
										<li value = "6">收货地址</li>
									</ul>
								</div>
							</div>
						</div>
						<div class="SearchLabel">
							<label>
								<input type="text" value="{$keyword}" id="keyword" class="SLName" placeholder="请输入搜索内容"/>
							</label>
						</div>
						<div class="SearchTimes">
							<div class="control-group">
								<div class="controls">
									<div class="input-prepend input-group">
										<input type="text" readonly="readonly" value="{$date_time}" id="reservation" class="form-control" placeholder="选择日期范围" value="" />
									</div>
								</div>
							</div>
						</div>
						<div class="ContextZT">
							<div class="ContextZTTxt" value='-1'><if condition="($order_state eq 0) and ($order_state neq '')">待确认<elseif condition="$order_state eq 1"/>待发货<elseif condition="$order_state eq 2"/>已发货<elseif condition="$order_state eq 3"/>已签收<elseif condition="$order_state eq 4"/>已退货<elseif condition="$order_state eq 5"/>售后处理<elseif condition="$order_state eq 6"/>确认假单<elseif condition="$order_state eq 7"/>取消订单<else />全部状态</if></div>
							<div class="NameIdList">
								<ul>
									<li value = '-1' <if condition="$order_state eq ''">class="active"</if>>全部状态</li>
									<li value = '0' <if condition="$order_state eq 0">class="active"</if>>待确认</li>
									<li value = '1' <if condition="$order_state eq 1">class="active"</if>>待发货</li>
									<li value = '2' <if condition="$order_state eq 2">class="active"</if>>已发货</li>
									<li value = '3' <if condition="$order_state eq 3">class="active"</if>>已签收</li>
									<li value = '4' <if condition="$order_state eq 4">class="active"</if>>已退货</li>
									<li value = '5' <if condition="$order_state eq 5">class="active"</if>>售后处理</li>
									<li value = '6' <if condition="$order_state eq 6">class="active"</if>>确认假单</li>
									<li value = '7' <if condition="$order_state eq 7">class="active"</if>>取消订单</li>
								</ul>
							</div>
						</div>
						<div class="ContextZT">
							<div class="ContextZTBook" value = '-1'><if condition="$express_id eq 1">未知<elseif condition="$express_id eq 2"/>顺丰速运<elseif condition="$express_id eq 3"/>申通快递<elseif condition="$express_id eq 4"/>圆通快递<elseif condition="$express_id eq 5"/>中通快递<elseif condition="$express_id eq 6"/>百世快递<elseif condition="$express_id eq 7"/>韵达快递<elseif condition="$express_id eq 8"/>天天快递<elseif condition="$order_state eq 9"/>EMS<elseif condition="$express_id eq 10"/>中国邮政<elseif condition="$express_id eq 11"/>宅急送<elseif condition="$express_id eq 12"/>京东快递<else />全部快递</if></div>
							<div class="NameIdList">
								<ul>
									<li value = '-1' <if condition="empty($express_id)">class="active"</if>>全部快递</li>
									<li value = '1' <if condition="$express_id eq 1">class="active"</if>>未知</li>
									<li value = '2' <if condition="$express_id eq 2">class="active"</if>>顺丰速运</li>
									<li value = '3' <if condition="$express_id eq 3">class="active"</if>>申通快递</li>
									<li value = '4' <if condition="$express_id eq 4">class="active"</if>>圆通快递</li>
									<li value = '5' <if condition="$express_id eq 5">class="active"</if>>中通快递</li>
									<li value = '6' <if condition="$express_id eq 6">class="active"</if>>百世快递</li>
									<li value = '7' <if condition="$express_id eq 7">class="active"</if>>韵达快递</li>
									<li value = '8' <if condition="$express_id eq 8">class="active"</if>>天天快递</li>
									<li value = '9' <if condition="$express_id eq 9">class="active"</if>>EMS</li>
									<li value = '10' <if condition="$express_id eq 10">class="active"</if>>中国邮政</li>
									<li value = '11' <if condition="$express_id eq 11">class="active"</if>>宅急送</li>
									<li value = '12' <if condition="$express_id eq 12">class="active"</if>>京东快递</li>
								</ul>
							</div>
						</div>
						<button type="button" class="SLBtns myform" alt="0">查询</button>
						<button type="button" class="SLBtns myform" style="width:100px;" alt="1">今日订单</button>
					</form>
				</div>
			</div>
		</div>
		<div class="view-con">
			<div class="ViewTopCon">
				<div class="AppendShopping" style="float: left">
					<a href="##">
						<i>+</i>
						<em>新增订单</em>
					</a>
				</div>
				<div class="ProblemTxt">
					<span>注：标红的订单可能是问题订单</span>
					<div class="ProblemTxtMed">
						标红的订单中“收货地址”和“下单IP”的省份不一致，可能为问题订单。
						<div class="PTMCon"></div>
					</div>
				</div>
				<div class="ProblemTxt Doubel">
					<span>重复订单标识</span>
					<div class="ProblemTxtMed">
						该订单与某个既有订单的“商品名称”“套餐明细”“手机号码”完全一致，可能为重复订单。
						<div class="PTMCon"></div>
					</div>
				</div>
				<div class="fourBtns">
					<a href="{:U('Order/download_xls',$parameter)}"><div class="fourBtnsCons3">下载订单</div></a>
					<div >
						<div class="fourBtnsCon BatchState">批量修改状态</div>
						<div class="fourBtnsCon BatchDeleting">批量移除</div>
						<div class="fourBtnsCon fourBtnsCons4">批量发货</div>
					</div>
				</div>
			</div>
			<div class="ViewConTable">
				<div class="ViewConTableRt">
					<div class="TableWid" style="float: right; width:1765px;">
						<table  border="0" cellpadding="0" cellspacing="0" style="float: right">
							<thead>
							<tr>
								<th  class="wwww"><div class="blo">
									<span class="el-checkbox__input"><span class="el-checkbox__inner  all"></span><input type="checkbox" class="el-checkbox" /></span>
								</div></th>
								<th ><div class="blo">订单ID</div></th>
								<th ><div class="blo">商品名称</div></th>
								<th ><div class="blo">页面名称</div></th>
								<th><div class="blo">套餐明细</div></th>
								<th ><div class="blo">数量/总价</div></th>
								<th ><div class="blo">姓名</div></th>
								<th ><div class="blo">手机号码</div></th>
								<th ><div class="blo">收货地址</div></th>
								<th ><div class="blo">下单IP</div></th>
								<th ><div class="blo">下单时间</div></th>
								<th ><div class="blo">订单状态</div></th>
								<th ><div class="blo">快递信息</div></th>
								<th ><div class="blo">留言</div></th>
								<th width="40"><div class="blo">备注</div></th>
								<th width="68" ><div class="blo">操作</div></th>
							</tr>
							</thead>
							<tbody>
							<foreach name="items" item="vo" >
								<tr>
									<td><div class="blo">
										<span class="el-checkbox__input"><span class="el-checkbox__inner"></span><input type="checkbox" class="el-checkbox" value="{$vo['id']}"/></span>
									</div></td>
									<td style="width:7%"><div class="blo">{$vo['order_sn']}</div></td>
									<td><div class="blo">{$vo['goods_name']}</div></td>
									<td><div class="blo"><a target="_blank" style="color: #0093d4;text-decoration:none;" href="{:U('Home/Mate/index',array('id'=>$vo['addpage_info_id']))}">{$vo['page_name']}</a></div></td>
									<td style="width:10%"><div class="blo package_detailed_{$vo['id']}">{$vo['package_detailed']}</div></td>
									<td><div class="blo"><span class="order_number_{$vo['id']}">{$vo['order_number']}</span>/<span class="package_price_{$vo['id']}"><php>if(!empty($vo['total_price'])){echo $vo['total_price'];}else{echo number_format($vo['package_price']*$vo['order_number'],2);}</php></span></div></td>
									<td><div  class="order_username_{$vo['id']} blo <if condition="$vo['be_careful'] eq 1">cur</if>">{$vo['order_username']}</div></td>
												<td><if condition="$vo['repetition'] eq 1"><div class="duplicate-icon" style="margin-bottom: 10px;"></div></if><div class="order_phone_{$vo['id']} blo <if condition="$vo['be_careful'] eq 1">cur</if>">{$vo['order_phone']}</div></td>
											<td style="width:7%"><div class="order_address_{$vo['id']} blo <if condition="$vo['be_careful'] eq 1">cur</if>">{$vo['order_address']}</div></td>
										<td style="width:5%"><div class="blo <if condition="$vo['be_careful'] eq 1">cur</if>">{$vo['order_ip_address']}{$vo['order_ip']}</div></td>
									<td style="width:7%"><div class="blo">{$vo['order_create_time']}</div></td>
									<td><div class="blo Isoppend order_state_{$vo['id']}" alt="{$vo['order_state']}" id="{$vo['id']}"><if condition="$vo['order_state'] eq 0">待确认<elseif condition="$vo['order_state'] eq 1"/>待发货<elseif condition="$vo['order_state'] eq 2"/>已发货<elseif condition="$vo['order_state'] eq 3"/>已签收<elseif condition="$vo['order_state'] eq 4"/>已退货<elseif condition="$vo['order_state'] eq 5"/>售后处理<elseif condition="$vo['order_state'] eq 6"/>确认假单<elseif condition="$vo['order_state'] eq 7"/>取消订单<else />待确认</if></div></td>
									<td><div class="blo express_name_{$vo['id']}">{$vo['express_name']}</div></td>
									<td><div class="blo order_message_{$vo['id']}">{$vo['order_message']}</div></td>
									<td><div id="{$vo['id']}" class="remarks_{$vo['id']} blo AppImg <if condition="!empty($vo['order_remarks'])">ActImg</if>" title="{$vo['order_remarks']}"></div></td>
								<td>
									<div class="blo">
										<button type="button" class="AppBtns" id="{$vo['id']}">编辑</button>
										<button type="button" class="CloBtns" id="{$vo['id']}">移除</button>
									</div>
								</td>
								</tr>
							</foreach>
							</tbody>
						</table>
					</div>
				</div>
				<div class="VCTable">
					<div class="TableWid" style="width:1765px;">
						<table width="100%" border="0" cellpadding="0" cellspacing="0">
							<thead>
							<tr>
								<th>
									<div class="blo">
										<span class="el-checkbox__input"><span class="el-checkbox__inner all"></span><input type="checkbox" class="el-checkbox" /></span>
									</div>
								</th>
								<th><div class="blo">订单ID</div></th>
								<th><div class="blo">商品名称</div></th>
								<th><div class="blo">页面名称</div></th>
								<th><div class="blo">套餐明细</div></th>
								<th><div class="blo">数量/总价</div></th>
								<th><div class="blo">姓名</div></th>
								<th><div class="blo">手机号码</div></th>
								<th><div class="blo">收货地址</div></th>
								<th><div class="blo">下单IP</div></th>
								<th><div class="blo">下单时间</div></th>
								<th><div class="blo">订单状态</div></th>
								<th><div class="blo">快递信息</div></th>
								<th><div class="blo">留言</div></th>
								<th width="50"><div class="blo visu">备注</div></th>
								<th width="68" ><div class="blo visu">操作</div></th>
							</tr>
							</thead>
							<tbody id="tbody">
							<foreach name="items" item="vo" >
								<tr>
									<td><div class="blo">
										<span class="el-checkbox__input"><span class="el-checkbox__inner"></span><input type="checkbox" class="el-checkbox" value="{$vo['id']}"/></span>
									</div></td>
									<td style="width:7%"><div class="blo">{$vo['order_sn']}</div></td>
									<td><div class="blo">{$vo['goods_name']}</div></td>
									<td><div class="blo"><a target="_blank" style="color: #0093d4;text-decoration:none;" href="{:U('Home/Mate/index',array('id'=>$vo['addpage_info_id']))}">{$vo['page_name']}</a></div></td>
									<td style="width:10%"><div class="blo package_detailed_{$vo['id']}">{$vo['package_detailed']}</div></td>
									<td><div class="blo"><span class="order_number_{$vo['id']}">{$vo['order_number']}</span>/<span class="package_price_{$vo['id']}"><php>if(!empty($vo['total_price'])){echo $vo['total_price'];}else{echo number_format($vo['package_price']*$vo['order_number'],2);}</php></span></div></td>
									<td><div  class="order_username_{$vo['id']} blo <if condition="$vo['be_careful'] eq 1">cur</if>">{$vo['order_username']}</div></td>
														<td><if condition="$vo['repetition'] eq 1"><div class="duplicate-icon" style="margin-bottom: 10px;"></div></if><div class="order_phone_{$vo['id']} blo <if condition="$vo['be_careful'] eq 1">cur</if>">{$vo['order_phone']}</div></td>
									<td style="width:7%"><div class="order_address_{$vo['id']} blo <if condition="$vo['be_careful'] eq 1">cur</if>">{$vo['order_address']}</div></td>
									<td style="width:5%"><div class="blo <if condition="$vo['be_careful'] eq 1">cur</if>">{$vo['order_ip_address']}{$vo['order_ip']}</div></td>
									<td style="width:7%"><div class="blo">{$vo['order_create_time']}</div></td>
									<td><div class="blo Isoppend order_state_{$vo['id']}" alt="{$vo['order_state']}" id="{$vo['id']}"><if condition="$vo['order_state'] eq 0">待确认<elseif condition="$vo['order_state'] eq 1"/>待发货<elseif condition="$vo['order_state'] eq 2"/>已发货<elseif condition="$vo['order_state'] eq 3"/>已签收<elseif condition="$vo['order_state'] eq 4"/>已退货<elseif condition="$vo['order_state'] eq 5"/>售后处理<elseif condition="$vo['order_state'] eq 6"/>确认假单<elseif condition="$vo['order_state'] eq 7"/>取消订单<else />待确认</if></div></td>
									<td><div class="blo express_name_{$vo['id']}">{$vo['express_name']}</div></td>
									<td><div class="blo order_message_{$vo['id']}">{$vo['order_message']}</div></td>
									<td><div id="{$vo['id']}" class="remarks_{$vo['id']} blo AppImg <if condition="!empty($vo['order_remarks'])">ActImg</if>" title="{$vo['order_remarks']}"></div></td>
									<td>
										<div class="blo">
											<button type="button" class="AppBtns" id="{$vo['id']}">编辑</button>
											<button type="button" class="CloBtns" id="{$vo['id']}">移除</button>
										</div>
									</td>
									</tr>
								</foreach>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
		<div class="pages">
			{$pages}
		</div>
		<!--  添加列表蒙版  -->
		<div class="AppshpMed">
			<div class="WhiteMed">
				<div class="HMore3">新增订单</div>
				<div class="cancelclose"></div>
				<form>
					<div class="BookNameCon">
						<span class="SpanMain span1"><i class="rod">*</i>页面名称</span>
						<div class="ContextZT">
							<div class="ContextZTTxt" value='0' id="add_order_pagename">选择或新建一个页面名称</div>
							<div class="NameIdList">
								<ul>
									<foreach name="addpage_info" item="info">
										<li value="{$info['id']}">{$info['page_name']}</li>
									</foreach>
								</ul>
							</div>
							<div class="AddPrompt" style="margin-left:5px;">请输入页面名称</div>
						</div>
						<span class="SpanMain span2"> 可在“添加页面”创建一个新页面</span>
					</div>
					<div class="BookNameCon">
						<span class="SpanMain span1"><i class="rod">*</i>套餐明细</span>
						<label>
							<textarea name="mxi" class="mxi" id="add_detailed" placeholder="请输入套餐属性和属性值，如：衬衫、白色、L码"></textarea>
						</label>
						<div class="AddPrompt">请输入套餐明细</div>
					</div>
					<div class="BookNameCon">
						<span class="SpanMain span1"><i class="rod">*</i>套餐数量</span>
						<div class="PriceTotal">
							<i class="JumpPrice active" onclick="JumpPrice(this)">-</i>
							<input type="text" name="PTotal" min="1" max="Infinity" class="PTotal" value="1" id="add_number" onkeyup="value=value.replace(/[^\d]/g,'') " ng-pattern="/[^a-zA-Z]/">
							<i class="NumPrice" onclick="NumPrice(this)">+</i>
						</div>
						<div class="APLabelTo">
							<span class="span1"><i class="rod">*</i>总价</span>
							<label>
								<input type="text" name="PMPrice" class="PMPrice" id="add_total_price">
							</label>
							<div class="PMPriceDw">元</div>
							<div class="AddPrompt">请输入总价</div>
						</div>
					</div>
					<div class="BookNameCon BookNameConS1">
						<span class="SpanMain span1"><i class="rod">*</i>姓名</span>
						<label>
							<input type="text" class="BNCName" name="BNCName" placeholder="请输入买家姓名" id="add_username"/>
						</label>
						<div class="AddPrompt">请输入姓名</div>
					</div>
					<div class="BookNameCon BookNameConS1">
						<span class="SpanMain span1"><i class="rod">*</i>手机</span>
						<label>
							<input type="text" class="BNCTels" name="BNCTels" placeholder="请输入手机号码" id="add_phone"/>
						</label>
						<div class="AddPrompt">请输入手机</div>
					</div>
					<div class="BookNameCon">
						<span class="SpanMain span1"><i class="rod">*</i>地区</span>
						<div class="AddLabel">
							<div class="ThreeCon">
								<input type="text" readonly="readonly" class="ThreeConTop" placeholder="请选择" value="" datev="0">
								<!--<div class="ThreeConTop" value = '0'>请选择商品类名</div>-->
								<input type="hidden" name="goods_class_id" value="" id="add_class_id"/>
								<div class="ThreeList" style="">
									<div class="tl_s1 White">
										<ul>
											<foreach name="getclass" item="one">
												<li <if condition="!empty($one['_data'])">class="active"</if>>
												<span class="blue" alt="{$one['id']}">{$one['name']}</span>
												<if condition="!empty($one['_data'])">
													<div class="White tl_s2">
														<ul>
															<foreach name="one['_data']" item="two">
																<li <if condition="!empty($two['_data'])">class="active"</if>><span class="blue" alt="{$two['id']}">{$two['name']}</span>
																<if condition="!empty($two['_data'])">
																	<div class="White tl_s3">
																		<ul>
																			<foreach name="two['_data']" item="three">
																				<li><span alt="{$three['id']}">{$three['name']}</span></li>
																			</foreach>
																		</ul>
																	</div>
																</if>
																</li>
															</foreach>
														</ul>
													</div>
												</if>
												</li>
											</foreach>
										</ul>
									</div>
								</div>
							</div>
							<div class="AddPrompt" style="margin-left:5px;">请选择地区</div>
						</div>
					</div>
					<div class="BookNameCon BookNameConS1">
						<span class="SpanMain span1"><i class="rod">*</i>收货地址</span>
						<label>
							<input type="text" class="BNCAddr" name="BNCAddr" id="add_order_address"/>
						</label>
						<div class="AddPrompt">请输入收货地址</div>
					</div>
					<div class="BookNameCon">
						<span class="SpanMain span1">留言</span>
						<label>
							<textarea name="mxi" id="mly" class="mly" ></textarea>
						</label>
					</div>
					<div class="BookNameBtns">
						<div class="AppendBtns">
							<button type="button" class="AppendClose AppendClose1">取消</button>
							<button type="button" class="AppendTo AppendToTxt">保存</button>
						</div>
					</div>
				</form>
			</div>
		</div>

		<!--  修改订单列表  -->
		<div class="ResetMed">
			<div class="ResetPre">
				<div class="HMore3">批量修改订单状态</div>
				<div class="closeMore"></div>
				<div class="REWarning">建议：请检查所选订单的“订单状态”是否一致，以免误操作</div>
				<div class="sure">
					<div class="SureItem">
						<ul>
							<li alt="0">
								<em class="em1"></em>
								<span>待确认</span>
							</li>
							<li alt="1">
								<em class="em1"></em>
								<span>待发货</span>
							</li>
							<li alt="2">
								<em class="em1"></em>
								<span>已发货</span>
							</li>
							<li alt="3">
								<em class="em1"></em>
								<span>已签收</span>
							</li>
							<li alt="4">
								<em class="em1"></em>
								<span>已退货</span>
							</li>
							<li alt="5">
								<em class="em1"></em>
								<span>售后处理</span>
							</li>
							<li alt="6">
								<em class="em1"></em>
								<span>确认假单</span>
							</li>
							<li alt="7">
								<em class="em1"></em>
								<span>取消订单</span>
							</li>
						</ul>
					</div>
					<div class="BookNameBtns">
						<div class="AppendBtns">
							<button type="button" class="ResetClose">取消</button>
							<button type="button" class="ResetToTxt order_status" typeid="0">保存</button>
						</div>
					</div>
				</div>
			</div>
			<div class="ResetPre">
				<div class="HMore3">提示</div>
				<div class="closeMore"></div>
				<div class="ProblemSure">
					<span>订单记录移除后不可找回，确定移除吗？</span>
					<div class="BookNameBtns" style="margin-top:20px;">
						<div class="AppendBtns" style="margin-top:30px;">
							<button type="button" class="ResetClose">取消</button>
							<button type="button" class="ResetToTxt order_del" typeid="0">保存</button>
						</div>
					</div>
				</div>
			</div>
			<div class="ResetPre ResetPreThree">
				<div class="HMore3">批量发货</div>
				<div class="closeMore"></div>
				<div class="RPTItem">
					<ul>
						<li class="child">
							<dl>
								<dt class="m1"></dt>
								<dd>
									<em class="em1">下载订单表格</em>
									<em class="em2">从订单管理中下载需要发货的订单表格</em>
								</dd>
							</dl>
						</li>
						<li class="child">
							<dl>
								<dt class="m2"></dt>
								<dd>
									<em class="em1">完善订单表格</em>
									<em class="em2">填写订单状态、快递公司、快递单号</em>
								</dd>
							</dl>
						</li>
						<li class="child">
							<dl>
								<dt class="m3"></dt>
								<dd>
									<em class="em1">点击批量发货</em>
									<em class="em2">点击批量发货，上传已更新过的订单表格</em>
								</dd>
							</dl>
						</li>
						<li>
							<dl>
								<dt class="m4"></dt>
								<dd>
									<em class="em1">完成</em>
									<em class="em2">点击完成，订单信息将在订单管理中更新</em>
								</dd>
							</dl>
						</li>
					</ul>
					<div class="TiaoNum">注意：每个订单表格只能添加5000条订单记录，超出部分请分批上传</div>
					<form>
						<div class="filValue APLabelToS2">
						</div>
						<button class="Txtfile" type="button">批量发货</button>
						<p style="margin-top: 20px; color: rgb(102, 102, 102);" id="fiel_excel"></p>
						<div class="BookNameBtns">
							<div class="AppendBtns">
								<button type="button" class="import_excel ResetClose1">完成</button>
							</div>
						</div>
					</form>
				</div>
			</div>
			<div class="ResetPres">
				<div class="HMore3">填写备注</div>
				<div class="closeMore"></div>
				<form>
					<div class="BookNameCon">
						<label>
							<textarea name="bztxt" id="bztxt" class="bztxt" ></textarea>
						</label>
					</div>
					<div style="margin-top: 0;font-size: 12px" class="TiaoNum">最多只能输入100个字符</div>
					<div class="BookNameBtns">
						<div class="AppendBtns">
							<button type="button" class="ResetClose">取消</button>
							<button type="button" class="ResetToTxt order_remarks">保存</button>
						</div>
					</div>
				</form>
			</div>

			<div class="ResetPreCon ResetPreThree">
				<div class="HMore3">编辑订单</div>
				<div class="closeMore"></div>
				<div class="RPCTxtItem">
					<div class="col1"><span>订单ID</span><em id="edit_sn"></em></div>
					<div class="col1"><span>订单IP</span><em id="edit_ip"></em></div>
					<div class="col1"><span>下单时间</span><em id="edit_create_time"></em></div>
					<div class="col1"><span>订单来源</span><em id="edit_url"></em></div>
					<div class="col1"><span>页面名称</span><em id="edit_page_name"></em></div>
					<form>
						<div class="RPCLabel">
							<span class="SpanMain"><i class="rod">*</i>套餐明细</span>
							<label>
								<textarea name="RPCLabelTxt" class="RPCLabelTxt" id="edit_detailed"></textarea>
							</label>
							<div class="Prompt">请输入套餐明细</div>
						</div>
						<div class="BookNameCon">
							<span class="SpanMain span1"><i class="rod">*</i>套餐数量</span>
							<div class="PriceTotal">
								<i class="JumpPrice active" onclick="JumpPrice(this)">-</i>
								<input type="text" name="PTotal" class="PTotal" min="1" max="Infinity" validateevent="true" autocomplete="off" value="1" id="edit_number" onkeyup="value=value.replace(/[^\d]/g,'') " ng-pattern="/[^a-zA-Z]/">
								<i class="NumPrice" onclick="NumPrice(this)">+</i>
							</div>
							<div class="APLabelTo">
								<span class="span1"><i class="rod">*</i>总价</span>
								<label>
									<input type="text" name="PMPrice" class="PMPrice" id="edit_total_price">
								</label>
								<div class="PMPriceDw">元</div>
								<div class="Prompt">请输入总价</div>
							</div>
						</div>
						<div class="RPCLabel">
							<span class="SpanMain"><i class="rod">*</i>姓名</span>
							<label>
								<input type="text" name="RPCName" class="RPCName" placeholder="" id="edit_username"/>
							</label>
							<div class="Prompt">请输入姓名</div>
						</div>
						<div class="RPCLabel">
							<span class="SpanMain"><i class="rod">*</i>手机</span>
							<label>
								<input type="text" name="RPCTels" class="RPCTels" placeholder="" id="edit_phone"/>
							</label>
							<div class="Prompt">请输入手机</div>
						</div>
						<div class="BookNameCon">
							<span class="SpanMain span1"><i class="rod">*</i>地区</span>
							<div class="AddLabel">
								<div class="ThreeCon">
									<input type="text" readonly="readonly" class="ThreeConTop edit_city_area" placeholder="请选择" value="" datev="0">
									<input type="hidden" name="goods_class_id" value=""/>
									<!--<div class="ThreeConTop" value = '0'>请选择商品类名</div>-->
									<div class="ThreeList" style="">
										<div class="tl_s1 White">
											<ul>
												<foreach name="getclass" item="one">
													<li <if condition="!empty($one['_data'])">class="active"</if>>
													<span class="blue" alt="{$one['id']}">{$one['name']}</span>
													<if condition="!empty($one['_data'])">
														<div class="White tl_s2">
															<ul>
																<foreach name="one['_data']" item="two">
																	<li <if condition="!empty($two['_data'])">class="active"</if>><span class="blue" alt="{$two['id']}">{$two['name']}</span>
																	<if condition="!empty($two['_data'])">
																		<div class="White tl_s3">
																			<ul>
																				<foreach name="two['_data']" item="three">
																					<li><span alt="{$three['id']}">{$three['name']}</span></li>
																				</foreach>
																			</ul>
																		</div>
																	</if>
																	</li>
																</foreach>
															</ul>
														</div>
													</if>
													</li>
												</foreach>
											</ul>
										</div>
									</div>
								</div>
							</div>
							<div class="RegExp" id="edit_city_area"></div>
						</div>
						<div class="RPCLabel">
							<span class="SpanMain"><i class="rod">*</i>收货地址</span>
							<label>
								<input type="text" name="RPCAddr" class="RPCAddr" placeholder="" id="edit_address"/>
							</label>
							<div class="Prompt">请输入收货地址</div>
						</div>
						<div class="BookNameCon">
							<span class="SpanMain span1">订单状态</span>
							<div class="ContextZT" id="edit_state">
								<div class="ContextZTTxt" value="0">待确认</div>
								<div class="NameIdList" style="">
									<ul>
										<li value="0">待确认</li>
										<li value="1">待发货</li>
										<li value="2">已发货</li>
										<li value="3">已签收</li>
										<li value="4">已退货</li>
										<li value="5">售后处理</li>
										<li value="6">确认假单</li>
										<li value="7">取消订单</li>
									</ul>
								</div>
							</div>
						</div>
						<div class="RPCLabel">
							<span class="SpanMain">快递公司</span>
							<div class="ContextZT" id="edit_express_id">
								<div class="ContextZTBook" value="0">全部快递</div>
								<div class="NameIdList" style="">
									<ul>
										<li value="1">未知</li>
										<li value="2">顺丰速运</li>
										<li value="3">申通快递</li>
										<li value="4">圆通快递</li>
										<li value="5">中通快递</li>
										<li value="6">百世快递</li>
										<li value="7">韵达快递</li>
										<li value="8">天天快递</li>
										<li value="9">EMS</li>
										<li value="10">中国邮政</li>
										<li value="11">宅急送</li>
										<li value="12">京东快递</li>
									</ul>
								</div>
							</div>
							<div class="kudinum">
								<span class="SpanMain">快递单号</span>
								<label>
									<input type="text" name="KDNumber" class="KDNumber" id="edit_express_number"/>
								</label>
							</div>
						</div>
						<div class="RPCLabel">
							<span class="SpanMain">留言</span>
							<label>
								<textarea name="RPCLabelTxtly" class="RPCLabelTxtly" id="edit_message"></textarea>
							</label>
						</div>
						<div class="RPCLabel">
							<span class="SpanMain">备注</span>
							<label>
								<textarea name="RPCLabelTxtlybz" class="RPCLabelTxtbz" id="edit_remarks"></textarea>
							</label>
						</div>
						<div class="BookNameBtns">
							<div class="AppendBtns">
								<button type="button" class="ResetClose">取消</button>
								<button type="button" class="ResetToTxt edit_save">保存</button>
							</div>
						</div>
					</form>
				</div>
			</div>

		</div>
	</div>
</div>
<div class="ImgCellMed">
	<div class="ImgCellTxt">
		<div class="ImgCellTxtMain">已发布的页面可在投放广告时使用，为防范风险，一旦发布则不能修改</div>
	</div>
</div>
<div class="tipsSave">
	<div class="saveTip">
		<div class="h3">提示</div>
		<div class="close"></div>
		<div class="saveContent">
			<p>请选择订单</p>
		</div>
		<div class="saveBtns">
			<button type="button" class="saveTo">确定</button>
		</div>
	</div>
</div>
<script src="__PUBLIC__/Admin/js/jquery-1.12.4.js"></script>
<script src="__PUBLIC__/Admin/js/swiper.min.js"></script>
<script src="__PUBLIC__/Admin/js/colpack.js"></script>
<script src="__PUBLIC__/Admin/js/main.js?v={:time()}"></script>
<script src="__PUBLIC__/Admin/js//moment.js"></script>
<script src="__PUBLIC__/Admin/js/daterangepicker.js"></script>
<script src="__PUBLIC__/Admin/js/uploadify/jquery.Huploadify.js"></script>
<script src="__PUBLIC__/Admin/js/order.js?v={:time()}"></script>

</body>
</html>